﻿using UnityEngine;
using System.Collections;

public class RetryButton : MonoBehaviour {
    private GameManager manager;
	void Start () {
        manager = GameManager.getInstance();

	}
    public void RetryLevel()
    {
        Application.LoadLevel(Application.loadedLevel);
    }
    public void NextLevel()
    {
        Application.LoadLevel(2);
    }
    private IEnumerator loadNextScene()
    {
        yield return new WaitForSeconds(0.5f);
        manager.IsShow = false;
    }
	void Update () {
	
	}
}
